<?php

class BlackHole implements ArrayAccess, Iterator, Countable {
	public function __call($name, $arguments) {
		return false;
	}

	public function __get($key) {
		return null;
	}

	public function __set($key, $value) {
		return false;
	}

	public function __toString() {
		return '';
	}

	public function offsetExists($name){
		return false;
	}

	public function offsetGet($id) {
		return $this;
	}

	public function offsetSet($name, $value) {
		return '';
	}

	public function offsetUnset($name) {
		return;
	}

	public function current() {
		return $this;
	}

	public function next() {
		return $this;
	}

	public function rewind() {
		return $this;
	}

	public function valid() {
		return false;
	}

	public function key() {
		return $this;
	}

	public function count() {
		return 0;
	}
}